<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>流程图</title>
    <script src="./js/jquery-3.5.1.min.js"></script>
</head>
<body>
<div id="img">
</div>
<i>此图是后台生成图片并返回。实际业务中，应由后台返回Json，然后前端渲染</i>
</body>
<script>
    var imgProcessInstanceId = localStorage.getItem("imgProcessInstanceId")
    var imgProcessDefinitionId = localStorage.getItem("imgProcessDefinitionId")

    $("#img").html("<img src='/demo/diagram1?instId="+imgProcessInstanceId+"&defId="+imgProcessDefinitionId+"'/>")

</script>
</html>